]> dgit.raspbian.org Git - gnome-shell.git/commit
osdWindow: Take per-monitor information in show and add showAll, showOne
authorSebastian Wick <sebastian.wick@redhat.com>
Wed, 2 Jul 2025 10:23:51 +0000 (12:23 +0200)
committerSebastian Wick <sebastian.wick@redhat.com>
Sun, 3 Aug 2025 01:32:35 +0000 (03:32 +0200)
commit58e9923478b91b8c8b6b99dba5f8b9566919c9eb
treed4d84047d2e552bddac1d290ac6c0f71924b1b87
parentd3c08038baaae4d36d36d86afaf51619829e57b7
osdWindow: Take per-monitor information in show and add showAll, showOne

The current API only supports showing an OSD on all monitors or on one
monitor. This change makes it possible to show the OSD on any
combination of monitors while providing simpler functions for the common
usages.

It still retains the single-event character and cancels previous OSDs on
unaffected monitors.

We will require this for the screen brightness keyboard shortcuts in the
future.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3751>
js/ui/osdWindow.js
js/ui/shellDBus.js
js/ui/status/volume.js
js/ui/windowManager.js